package io.renren.modules.generator.service;

import com.baomidou.mybatisplus.service.IService;

/**
 * Created with IntelliJ IDEA.
 * User: 齐丹枫
 * Date: 2019/1/17
 * Time: 9:40
 * To change this template use File | Settings | File Templates.
 * Description:
 */
public interface SequenceService extends IService<Integer>{

    String getCurrentValue(String name,int length);

    String getNextValue(String name,int length);

    void setCurrentValue(String name,String value);

}
